package com.efast.dmom.mgmt.service.master.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.master.TmBasWorkshopDao;
import com.efast.dmom.mgmt.entity.master.TmBasWorkshop;
import com.efast.dmom.mgmt.service.master.TmBasWorkshopService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TmBasWorkshopServiceImpl implements TmBasWorkshopService{
    @Autowired
    private TmBasWorkshopDao tmBasWorkshopDao;
    @Override
    public long getTmBasWorkshopRowCount(Assist assist){
        return tmBasWorkshopDao.getTmBasWorkshopRowCount(assist);
    }
    @Override
    public List<TmBasWorkshop> selectTmBasWorkshop(Assist assist){
        return tmBasWorkshopDao.selectTmBasWorkshop(assist);
    }
    @Override
    public TmBasWorkshop selectTmBasWorkshopByObj(TmBasWorkshop obj){
        return tmBasWorkshopDao.selectTmBasWorkshopByObj(obj);
    }
    @Override
    public TmBasWorkshop selectTmBasWorkshopById(Integer id){
        return tmBasWorkshopDao.selectTmBasWorkshopById(id);
    }
    @Override
    public int insertTmBasWorkshop(TmBasWorkshop value){
        return tmBasWorkshopDao.insertTmBasWorkshop(value);
    }
    @Override
    public int insertNonEmptyTmBasWorkshop(TmBasWorkshop value){
        return tmBasWorkshopDao.insertNonEmptyTmBasWorkshop(value);
    }
    @Override
    public int insertTmBasWorkshopByBatch(List<TmBasWorkshop> value){
        return tmBasWorkshopDao.insertTmBasWorkshopByBatch(value);
    }
    @Override
    public int deleteTmBasWorkshopById(Integer id){
        return tmBasWorkshopDao.deleteTmBasWorkshopById(id);
    }
    @Override
    public int deleteTmBasWorkshop(Assist assist){
        return tmBasWorkshopDao.deleteTmBasWorkshop(assist);
    }
    @Override
    public int updateTmBasWorkshopById(TmBasWorkshop enti){
        return tmBasWorkshopDao.updateTmBasWorkshopById(enti);
    }
    @Override
    public int updateTmBasWorkshop(TmBasWorkshop value, Assist assist){
        return tmBasWorkshopDao.updateTmBasWorkshop(value,assist);
    }
    @Override
    public int updateNonEmptyTmBasWorkshopById(TmBasWorkshop enti){
        return tmBasWorkshopDao.updateNonEmptyTmBasWorkshopById(enti);
    }
    @Override
    public int updateNonEmptyTmBasWorkshop(TmBasWorkshop value, Assist assist){
        return tmBasWorkshopDao.updateNonEmptyTmBasWorkshop(value,assist);
    }

    public TmBasWorkshopDao getTmBasWorkshopDao() {
        return this.tmBasWorkshopDao;
    }

    public void setTmBasWorkshopDao(TmBasWorkshopDao tmBasWorkshopDao) {
        this.tmBasWorkshopDao = tmBasWorkshopDao;
    }

}